home *** CD-ROM | disk | FTP | other *** search
/ Revista do CD-ROM 100 / CD-ROM 100.iso / aplic / oo1_1 / f_0034 / common.jar / text / common / guide / data_dbase2office.xml < prev    next >
Encoding:
Extensible Markup Language  |  2003-04-30  |  7.3 KB  |  69 lines

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <html><head><title>Importing and Exporting Data in Text Format</title><meta name="filename" content="text/common/guide/data_dbase2office"/><help:css-file-link xmlns:help="http://openoffice.org/2000/help"/><!--The CSS style header method for setting styles--><style type="text/css">
  3.  
  4.         table.Tabelle1{
  5.                 }
  6.         span.Tabelle1A{
  7.                 width:18cm;}
  8.         td.Tabelle1A1{
  9.                 }
  10.         p.P1{
  11.                 }
  12.         p.P2{
  13.                 }
  14.         p.P3{
  15.                 }
  16.         p.P4{
  17.                 }
  18.         span.T1{
  19.                 font-weight:bold;}
  20.         span.fr1{
  21.                 }
  22.         </style></head><body>
  23.   
  24.   
  25.   <p class="P1"><help:paragraphinfo state="U" number="38" xmlns:help="http://openoffice.org/2000/help"/><help:key-word value="databases; importing" tag="kw68131_1" xmlns:help="http://openoffice.org/2000/help"/><help:key-word value="databases; exporting" tag="kw68131_7" xmlns:help="http://openoffice.org/2000/help"/><help:key-word value="databases; text formats" tag="kw68131_6" xmlns:help="http://openoffice.org/2000/help"/><help:key-word value="text formats; databases" tag="kw68131_5" xmlns:help="http://openoffice.org/2000/help"/><help:key-word value="csv text format; databases" tag="kw68131_4" xmlns:help="http://openoffice.org/2000/help"/><help:key-word value="importing; tables in text format" tag="kw68131_3" xmlns:help="http://openoffice.org/2000/help"/><help:key-word value="exporting; tables in text format" tag="kw68131_2" xmlns:help="http://openoffice.org/2000/help"/></p>
  26.   <p class="Head1"><help:paragraphinfo state="U" number="55" xmlns:help="http://openoffice.org/2000/help"/><help:to-be-embedded Eid="data_dbase2office" xmlns:help="http://openoffice.org/2000/help"><help:link Id="68131">Importing and Exporting Data in Text Format</help:link></help:to-be-embedded></p>
  27.   <p class="Paragraph"><help:paragraphinfo state="U" number="54" xmlns:help="http://openoffice.org/2000/help"/>If you want to exchange data with a database that does not have an ODBC link and does not allow dBase import and export, you can use a common text format.</p>
  28.   <p class="Head2"><help:paragraphinfo state="U" number="41" xmlns:help="http://openoffice.org/2000/help"/>Importing Data Into <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname></p>
  29.   <p class="Paragraph"><help:paragraphinfo state="U" number="40" xmlns:help="http://openoffice.org/2000/help"/>To exchange data in a text format use the <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> Calc import/export filter.</p>
  30.   <ol class="L1">
  31.    <li class="">
  32.     <p class="P2"><help:paragraphinfo state="U" number="42" xmlns:help="http://openoffice.org/2000/help"/>Export the desired data from the source database in a text format. The CSV text format is recommended. This format separates data fields by using delimiters such as commas or semi-colons, and separates records by inserting line breaks.</p>
  33.    </li>
  34.    <li class="">
  35.     <p class="P2"><help:paragraphinfo state="U" number="43" xmlns:help="http://openoffice.org/2000/help"/>Choose <span class="T1">File - </span><help:link Id="65703" xmlns:help="http://openoffice.org/2000/help"><span class="T1">Open</span></help:link> and select "Text CSV" from the <span class="T1">File type</span> combo box. Select the file and click <span class="T1">Open</span>.</p>
  36.    </li>
  37.    <li class="">
  38.     <p class="P2"><help:paragraphinfo state="U" number="44" xmlns:help="http://openoffice.org/2000/help"/>The <help:link Id="65608" xmlns:help="http://openoffice.org/2000/help"><span class="T1">Text Import</span></help:link> dialog appears. Decide which data to include from the text document.</p>
  39.    </li>
  40.   </ol>
  41.   <p class="Paragraph"><help:paragraphinfo state="U" number="45" xmlns:help="http://openoffice.org/2000/help"/>Once the data is in a <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> Calc spreadsheet, you can edit it as needed. You have two ways of saving the data as a <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> data source:</p>
  42.   <ul class="L2">
  43.    <li class="">
  44.     <p class="P3"><help:paragraphinfo state="U" number="56" xmlns:help="http://openoffice.org/2000/help"/>Save the current <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> Calc spreadsheet in dBase format in the folder of a dBase database. To do this, choose <span class="T1">File - Save As</span>, then select the <span class="T1">File type</span> "dBase" and the folder of the dBase database.</p>
  45.    </li>
  46.    <li class="">
  47.     <p class="P3"><help:paragraphinfo state="U" number="57" xmlns:help="http://openoffice.org/2000/help"/>Select the data range in the <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> Calc spreadsheet and drag the range to a table container in the data source view. The table container is the "Tables" line (see illustration) in the database explorer. An <help:link Id="66193" xmlns:help="http://openoffice.org/2000/help">AutoPilot</help:link> starts automatically.</p>
  48.    </li>
  49.   </ul>
  50.   <table><tr class=""><td class="Tabelle1A1" style="text-align:left;"><span class="Tabelle1A">
  51.      <p class="TextInTable"><draw:image draw:name="Dialog0" svg:desc="Bibliography Data Source Table Display" svg:pixelx="484" svg:pixely="124" svg:width="12.801cm" svg:height="3.284cm" xlink:href="67388" draw:filter-name="" xmlns:draw="http://openoffice.org/2000/drawing" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"/></p>
  52.  
  53.     </span></td></tr></table>
  54.   <p class="Head2"><help:paragraphinfo state="U" number="58" xmlns:help="http://openoffice.org/2000/help"/>Exporting in CSV Text Format</p>
  55.   <p class="Paragraph"><help:paragraphinfo state="U" number="59" xmlns:help="http://openoffice.org/2000/help"/>You can export the current <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> spreadsheet in a text format which can be read by many other applications.</p>
  56.   <ol class="L3">
  57.    <li class="">
  58.     <p class="P4"><help:paragraphinfo state="U" number="60" xmlns:help="http://openoffice.org/2000/help"/>Choose <span class="T1">File - Save as</span>.</p>
  59.    </li>
  60.    <li class="">
  61.     <p class="P4"><help:paragraphinfo state="U" number="61" xmlns:help="http://openoffice.org/2000/help"/>In <span class="T1">File type</span> select the filter "Text CSV". Enter a file name and click <span class="T1">Save</span>.</p>
  62.    </li>
  63.    <li class="">
  64.     <p class="P4"><help:paragraphinfo state="U" number="62" xmlns:help="http://openoffice.org/2000/help"/>This opens the <help:link Id="65617" xmlns:help="http://openoffice.org/2000/help"><span class="T1">dBase Export</span></help:link> dialog, in which you can select the character set, field delimiter and text delimiter. Click <span class="T1">OK</span>. A warning informs you that only the active sheet was saved.</p>
  65.    </li>
  66.   </ol>
  67.   <p class="ParaList"><help:paragraphinfo state="S" xmlns:help="http://openoffice.org/2000/help"/><help:embedded Id="65598" Eid="related" xmlns:help="http://openoffice.org/2000/help"/></p>
  68.   <p class="ParaList"><help:paragraphinfo state="S" xmlns:help="http://openoffice.org/2000/help"/><help:embedded Id="68133" Eid="data_office2calc" xmlns:help="http://openoffice.org/2000/help"/></p>
  69.  </body></html>